{include file='yxworker/w_head2'}

<!--         <div class="s_items s_bg lm_items">

            <div class="lm_btn">
                <img src="{$_G['URL']['WORKER_CSS']}images/lm_03.png">新增团队
            </div>
        </div>
 -->
    {if empty($op) }
        <header class="order_header" style="font-size: 0.4rem;">
            <div class="go_back">
                <a style="color: #ffffff" href="/{php echo createMobileUrl('w_index',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['WORKER_CSS']}images/order_03.png">
                返回首页</a>
            </div>
            {php echo empty($shop)?'':mb_substr($shopname,0,4,'utf-8').'-';}团队排名
        </header>
        <div class="s_items">
            <div class="s_title" >
                <div style="width: 68%; display: inline-block;" >
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                团队总排行{if !empty($notworker)}【{$notworker}个定单无客服】{/if}</div>
                <div style="width: 28%; display: inline-block; text-align: right;" ><a href="/{php echo createMobileUrl('w_grouprank',array('themeid'=>$themeid,'company'=>$company,'op'=>'list','type'=>'all'));}"><span style="color: #198bcb;">查看{$teamname}明细</span></a></div>
            </div>
            <!--  -->
            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                    <tr>
                        <td style="width: 2%;"></td>
                        <td style="width: 8%;color: #198bcb; text-align: right;">排名</td>
                        <td style="width: 15%;color: #198bcb">团队</td>
                        <td style="width: 10%;"><a {if $paixu!='xfs'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'xfs'));}">新粉</a></td>
                        <td style="width: 10%;"><a {if $paixu!='zf'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'zf'));}">转发</a></td>
                        <td style="width: 10%;"><a {if $paixu!='ll'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'ll'));}">浏览</a></td>
                        <td style="width: 10%;"><a {if $paixu!=''}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],));}">成交</a></td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td style="width: 10%;"><a {if $paixu!='xx'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'xx'));}">线下</a></td>
                        {/if}
                        <td style="width: 10%;"><a {if $paixu!='fee'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'fee'));}">实收</a></td>
                        <td style="width: 2%;"></td>
                    </tr>
                </thead>
                <tbody>
                    {loop $team $index $row}
                    <tr>
                        <td> </td>
                        <td style="text-align: right;"><span>{php echo $index+1;}</span></td>
                        <td style="color: #198bcb">{php echo mb_substr($row['name'],0,4,'utf-8');}</td>
                        <td >{$row['newfans']}</td>
                        <td style="color: #198bcb">{$row['forward']}</td>
                        <td >{$row['scansum']}</td>
                        <td style="color: #198bcb">{$row['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$row['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$row['fee']}</td>
                        <td> </td>
                    </tr>
                    {if $myworker['level'] != '3'}
                    <tr class="sib">
                        <td colspan="9">
                            <table class="lm_table pd0">
                                {loop $row['list'] $index $item}
                                    <tr>
                                    <td style="width: 2%;"> </td>
                                    <td style="width: 8%;text-align: right;"></td>
                                    <td style="width: 15%;color: #198bcb">{php echo mb_substr($item['name'],0,4,'utf-8');}</td>
                                    <td style="width: 10%;" >{$item['newfans']}</td>
                                    <td style="width: 10%;color: #198bcb">{$item['forward']}</td>
                                    <td style="width: 10%;" >{$item['scansum']}</td>
                                    <td style="width: 10%;color: #198bcb">{$item['record']}</td>
                                    {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                                    <td style="width: 10%;">{$item['recordxx']}</td>
                                    {/if}
                                    <td style="width: 10%;color: #198bcb">{$item['fee']}</td>
                                    <td style="width: 2%;"> </td>
                                    </tr>
                                {/loop}
                            </table>
                        </td>
                    </tr>
                    {/if}
                    {/loop}                 
                </tbody>
            </table>

        </div>


        <div class="s_items">
            <div class="s_title" >
                <div style="width: 48%;display: inline-block;" >
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                团队今日排行榜</div>
                <div style="width: 48%;display: inline-block; text-align: right;" ><a  href="/{php echo createMobileUrl('w_grouprank',array('themeid'=>$themeid,'company'=>$company,'op'=>'list','type'=>'today'));}"><span style="color: #198bcb;">查看{$teamname}明细</span></a></div>
            </div>

            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                    <tr>
                        <td style="width: 2%;"></td>
                        <td style="width: 8%;color: #198bcb; text-align: right;">排名</td>
                        <td style="width: 15%;color: #198bcb">团队</td>
                        <td style="width: 10%;"><a {if $paixu!='xfs'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'xfs'));}">新粉</a></td>
                        <td style="width: 10%;"><a {if $paixu!='zf'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'zf'));}">转发</a></td>
                        <td style="width: 10%;"><a {if $paixu!='ll'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'ll'));}">浏览</a></td>
                        <td style="width: 10%;"><a {if $paixu!=''}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],));}">成交</a></td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td style="width: 10%;"><a {if $paixu!='xx'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'xx'));}">线下</a></td>
                        {/if}
                        <td style="width: 10%;"><a {if $paixu!='fee'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'fee'));}">实收</a></td>
                        <td style="width: 2%;"></td>
                    </tr>
                </thead>
                <tbody>
                    {loop $teamtoday $index $row}
                    <tr>
                        <td> </td>
                        <td style="text-align: right;"><span>{php echo $index+1;}</span></td>
                        <td style="color: #198bcb">{php echo mb_substr($row['name'],0,4,'utf-8');}</td>
                        <td >{$row['newfans']}</td>
                        <td style="color: #198bcb">{$row['forward']}</td>
                        <td >{$row['scansum']}</td>
                        <td style="color: #198bcb">{$row['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$row['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$row['fee']}</td>
                        <td> </td>
                    </tr>
                    {if $myworker['level'] != '3'}
                    <tr class="sib">
                        <td colspan="9">
                            <table class="lm_table pd0">
                                {loop $row['list'] $index $item}
                                    <tr>
                                    <td style="width: 2%;"> </td>
                                    <td style="width: 8%;text-align: right;"></td>
                                    <td style="width: 15%;color: #198bcb">{php echo mb_substr($item['name'],0,4,'utf-8');}</td>
                                    <td style="width: 10%;" >{$item['newfans']}</td>
                                    <td style="width: 10%;color: #198bcb">{$item['forward']}</td>
                                    <td style="width: 10%;" >{$item['scansum']}</td>
                                    <td style="width: 10%;color: #198bcb">{$item['record']}</td>
                                    {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                                    <td style="width: 10%;">{$item['recordxx']}</td>
                                    {/if}
                                    <td style="width: 10%;color: #198bcb">{$item['fee']}</td>
                                    <td style="width: 2%;"> </td>
                                    </tr>
                                {/loop}
                            </table>
                        </td>
                    </tr>
                    {/if}
                    {/loop}                 
                </tbody>
            </table>

        </div>


        <div class="s_items">
            <div class="s_title" >
                <div style="width: 48%;display: inline-block;" >
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                团队昨日排行榜</div>
                <div style="width: 48%;display: inline-block; text-align: right;" ><a href="/{php echo createMobileUrl('w_grouprank',array('themeid'=>$themeid,'company'=>$company,'op'=>'list','type'=>'yesterday'));}"><span style="color: #198bcb;">查看{$teamname}明细</span></a></div>
            </div>

            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                    <tr>
                        <td style="width: 2%;"></td>
                        <td style="width: 8%;color: #198bcb; text-align: right;">排名</td>
                        <td style="width: 15%;color: #198bcb">团队</td>
                        <td style="width: 10%;"><a {if $paixu!='xfs'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'xfs'));}">新粉</a></td>
                        <td style="width: 10%;"><a {if $paixu!='zf'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'zf'));}">转发</a></td>
                        <td style="width: 10%;"><a {if $paixu!='ll'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'ll'));}">浏览</a></td>
                        <td style="width: 10%;"><a {if $paixu!=''}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],));}">成交</a></td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td style="width: 10%;"><a {if $paixu!='xx'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'xx'));}">线下</a></td>
                        {/if}
                        <td style="width: 10%;"><a {if $paixu!='fee'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'fee'));}">实收</a></td>
                        <td style="width: 2%;"></td>
                    </tr>
                </thead>
                <tbody>
                    {loop $teamyesterday $index $row}
                    <tr>
                        <td> </td>
                        <td style="text-align: right;"><span>{php echo $index+1;}</span></td>
                        <td style="color: #198bcb">{php echo mb_substr($row['name'],0,4,'utf-8');}</td>
                        <td >{$row['newfans']}</td>
                        <td style="color: #198bcb">{$row['forward']}</td>
                        <td >{$row['scansum']}</td>
                        <td style="color: #198bcb">{$row['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$row['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$row['fee']}</td>
                        <td> </td>
                    </tr>
                    {if $myworker['level'] != '3'}
                    <tr class="sib">
                        <td colspan="9">
                            <table class="lm_table pd0">
                                {loop $row['list'] $index $item}
                                    <tr>
                                    <td style="width: 2%;"> </td>
                                    <td style="width: 8%;text-align: right;"></td>
                                    <td style="width: 15%;color: #198bcb">{php echo mb_substr($item['name'],0,4,'utf-8');}</td>
                                    <td style="width: 10%;" >{$item['newfans']}</td>
                                    <td style="width: 10%;color: #198bcb">{$item['forward']}</td>
                                    <td style="width: 10%;" >{$item['scansum']}</td>
                                    <td style="width: 10%;color: #198bcb">{$item['record']}</td>
                                    {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                                    <td style="width: 10%;">{$item['recordxx']}</td>
                                    {/if}
                                    <td style="width: 10%;color: #198bcb">{$item['fee']}</td>
                                    <td style="width: 2%;"> </td>
                                    </tr>
                                {/loop}
                            </table>
                        </td>
                    </tr>
                    {/if}
                    {/loop}                 
                </tbody>
            </table>

        </div>


        <div class="s_items">
            <div class="s_title" >
                <div style="width: 48%;display: inline-block;" >
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                团队前日排行榜</div>
                <div style="width: 48%;display: inline-block; text-align: right;" ><a href="/{php echo createMobileUrl('w_grouprank',array('themeid'=>$themeid,'company'=>$company,'op'=>'list','type'=>'beforeyesterday'));}"><span style="color: #198bcb;">查看{$teamname}明细</span></a></div>
            </div>

            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                    <tr>
                        <td style="width: 2%;"></td>
                        <td style="width: 8%;color: #198bcb; text-align: right;">排名</td>
                        <td style="width: 15%;color: #198bcb">团队</td>
                        <td style="width: 10%;"><a {if $paixu!='xfs'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'xfs'));}">新粉</a></td>
                        <td style="width: 10%;"><a {if $paixu!='zf'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'zf'));}">转发</a></td>
                        <td style="width: 10%;"><a {if $paixu!='ll'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'ll'));}">浏览</a></td>
                        <td style="width: 10%;"><a {if $paixu!=''}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],));}">成交</a></td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td style="width: 10%;"><a {if $paixu!='xx'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'xx'));}">线下</a></td>
                        {/if}
                        <td style="width: 10%;"><a {if $paixu!='fee'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'company'=>$_P['company'],'paixu'=>'fee'));}">实收</a></td>
                        <td style="width: 2%;"></td>
                    </tr>
                </thead>
                <tbody>
                    {loop $teambeforeyesterday $index $row}
                    <tr>
                        <td> </td>
                        <td style="text-align: right;"><span>{php echo $index+1;}</span></td>
                        <td style="color: #198bcb">{php echo mb_substr($row['name'],0,4,'utf-8');}</td>
                        <td >{$row['newfans']}</td>
                        <td style="color: #198bcb">{$row['forward']}</td>
                        <td >{$row['scansum']}</td>
                        <td style="color: #198bcb">{$row['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$row['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$row['fee']}</td>
                        <td> </td>
                    </tr>
                    {if $myworker['level'] != '3'}
                    <tr class="sib">
                        <td colspan="9">
                            <table class="lm_table pd0">
                                {loop $row['list'] $index $item}
                                    <tr>
                                    <td style="width: 2%;"> </td>
                                    <td style="width: 8%;text-align: right;"></td>
                                    <td style="width: 15%;color: #198bcb">{php echo mb_substr($item['name'],0,4,'utf-8');}</td>
                                    <td style="width: 10%;" >{$item['newfans']}</td>
                                    <td style="width: 10%;color: #198bcb">{$item['forward']}</td>
                                    <td style="width: 10%;" >{$item['scansum']}</td>
                                    <td style="width: 10%;color: #198bcb">{$item['record']}</td>
                                    {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                                    <td style="width: 10%;">{$item['recordxx']}</td>
                                    {/if}
                                    <td style="width: 10%;color: #198bcb">{$item['fee']}</td>
                                    <td style="width: 2%;"> </td>
                                    </tr>
                                {/loop}
                            </table>
                        </td>
                    </tr>
                    {/if}
                    {/loop}                 
                </tbody>
            </table>

        </div>
    {elseif $op=='list' } 
        <header class="order_header" style="font-size: 0.4rem;">
            <div class="go_back">
                <a style="color: #ffffff" href="/{php echo createMobileUrl('w_grouprank',array('themeid'=>$themeid,'company'=>$company));}">
                <img src="{$_G['URL']['WORKER_CSS']}images/order_03.png">
                返回团队排名</a>
            </div>
            {php echo empty($shop)?'':mb_substr($shopname,0,4,'utf-8').'-';}团队{$ranktips}
        </header>
        {loop $team $index $row}
        {if $myworker['level'] != '3' || $myworker['level'] == '3' && $row['team']==$myworker['team']} 
        <div class="s_items">
            <div class="s_title" >
                <div style="width: 48%;display: inline-block;" >
                <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                {$row['name']}{$ranktips}</div>
            </div> 
            <!--  -->
            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                    <tr>
                        <td style="width: 2%;"></td>
                        <td style="width: 8%;color: #198bcb; text-align: right;">排名</td>
                        <td style="color: #198bcb">姓名</td>
                        <td style="width: 10%;"><a {if $paixu!='xfs'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'op'=>'list','type'=>$optype ,'company'=>$_P['company'],'paixu'=>'xfs'));}">新粉</a></td>
                        <td style="width: 10%;"><a {if $paixu!='zf'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'op'=>'list','type'=>$optype ,'company'=>$_P['company'],'paixu'=>'zf'));}">转发</a></td>
                        <td style="width: 10%;"><a {if $paixu!='ll'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'op'=>'list','type'=>$optype ,'company'=>$_P['company'],'paixu'=>'ll'));}">浏览</a></td>
                        <td style="width: 10%;"><a {if $paixu!=''}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'op'=>'list','type'=>$optype ,'company'=>$_P['company'],));}">成交</a></td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td style="width: 10%;"><a {if $paixu!='xx'}style="color: #5a5757;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'op'=>'list','type'=>$optype ,'company'=>$_P['company'],'paixu'=>'xx'));}">线下</a></td>
                        {/if}
                        <td style="width: 10%;"><a {if $paixu!='fee'}style="color: #198bcb;"{/if} href="/{php echo createMobileUrl($do,array('themeid'=>$themeid,'op'=>'list','type'=>$optype ,'company'=>$_P['company'],'paixu'=>'fee'));}">实收</a></td>
                        <td style="width: 10%;color: #198bcb; text-align: right;">日报</td>
                        <td style="width: 2%;"></td>
                    </tr>
                </thead>
                <tbody>
                    {loop $row['list'] $index $item}
                    <tr>
                        <td> </td>
                        <td ><span>{php echo $index+1;}</span></td>
                        <td style="color: #198bcb">{php echo mb_substr($item['name'],0,4,'utf-8');}</td>
                        <td >{$item['newfans']}</td>
                        <td style="color: #198bcb">{$item['forward']}</td>
                        <td >{$item['scansum']}</td>
                        <td style="color: #198bcb">{$item['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$item['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$item['fee']}</td>
                        {if $myworker['level'] != '3'}
                        <td><a style="color: #198bcb;" href="/{php echo createMobileUrl('w_grouprank',array('themeid'=>$themeid,'op'=>'report','uid'=>$item['uid']));}">查看</a></td>
                        {/if}
                        <td> </td>
                    </tr>
                    {/loop}   
                </tbody>
            </table>
        </div>
        {/if}
        {/loop}    
    {elseif $op=='report' } 
        <header class="order_header" style="font-size: 0.4rem;">
            <div class="go_back">
                {if $_P['fh']=='home'}
                <a style="color: #ffffff" href="/{php echo createMobileUrl('w_index',array('themeid'=>$themeid));}">
                <img src="{$_G['URL']['WORKER_CSS']}images/order_03.png">
                返回首页</a>
                {else}
                <a style="color: #ffffff" href="javascript:history.go(-1);">
                <img src="{$_G['URL']['WORKER_CSS']}images/order_03.png">
                返回</a>
                {/if}
            </div>
            {php echo empty($shop)?'':mb_substr($shopname,0,4,'utf-8').'-';}{$info['username']}的日报
        </header>
        <div class="s_items"> 
            <div class="s_title" >
                <form id = "myform" action="/{php echo createMobileUrl('w_grouprank',array('themeid'=>$themeid));}" method="post" class="form-horizontal" role="form">
                    <input type="hidden" name="op" value="report" />
                    <input type="hidden" name="fh" value="home" />
                    <div style="width: 98%;display: inline-block;" >
                    <img src="{$_G['URL']['WORKER_CSS']}images/title_17.png">
                        请选择： <select onchange="submitForm();" class="form-control" name="uid">
                        {loop $wlist $row}
                            <option value="{$row['uid']}" {if $uid == $row['uid'] }selected="selected"{/if}>{if $system['ruanjian']==3}{$row['companyname']}-{/if}{$row['teamname']}-{$row['username']}的日报</option>
                        {/loop}
                         </select>
                    </div>
                </form>
            </div>
            <!--  -->
            <table class="lm_table" >
                <thead  style="background-color:#ffffff">
                <tr>
                    <td style="width: 2%;"></td>
                    <td>日期</td>
                    <td style="color: #198bcb">新粉丝</td>
                    <td>转发</td>
                    <td style="color: #198bcb">浏览量</td>
                    <td>直销</td>
                    <td style="color: #198bcb">成交</td>
                    {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                    <td>线下</td>
                    {/if}
                    <td style="color: #198bcb">实收</td>
                    <td >红包</td>
                    <td style="width: 2%;"></td>
                </tr>
                </thead>
                <tbody>
                    {loop $report $index $item}
                    <tr>
                        <td></td>
                        <td>{php echo date("m-d",strtotime($item['riqi']));}</td>
                        <td style="color: #198bcb">{$item['newfans']}</td>
                        <td>{$item['forward']}</td>
                        <td style="color: #198bcb">{$item['scansum']}</td>
                        <td>{$item['recordzx']}</td>
                        <td style="color: #198bcb">{$item['record']}</td>
                        {if $config['isxianxia']==1 || $config['isshowxianxia']==1}
                        <td>{$item['recordxx']}</td>
                        {/if}
                        <td style="color: #198bcb">{$item['fee']}</td>
                        <td >{$item['comm']}</td>
                        <td></td>
                    </tr>
                    {/loop}   
                </tbody>
            </table>
        </div>
    {/if}
        <table class="s_table">
            <thead>
                <tr >
                    <td style="background:#f8f8f8;  text-align: center;line-height: 0.5rem;">
                    未出现在排行榜中的，代表当日没有任何宣传。
                    </td>
                </tr>
            </thead>
        </table>

<script>
    $('.lm_table tr').click(function(){
        console.log(1);
        $(this).next('.sib').toggle();
    })
    function submitForm(){
        var form = document.getElementById("myform");
        form.submit();
    }
</script>
<style>
.pd0 { padding-bottom:0;}
.pd0 tr:last-child td { border-bottom:none;}
.sib { display:none;}
</style>
{include file='yxworker/w_foot_yixuan'}